﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.StopZero.CApStopZeroCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using DnProcessSimulateCommands.StopZero.Resources;
using System.Windows;
using Tecnomatix.Engineering;


namespace DnProcessSimulateCommands.StopZero;

public class CApStopZeroCmd : TxButtonCommand
{
  private CApStopZeroEnabler _enabler;

  public virtual bool Licensed => TxCommandLicenser.EmergencyStopLicense;

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this._enabler;

  public virtual string Name => StopZeroStringTable.CommandName;

  public virtual string Tooltip => StopZeroStringTable.CommandTooltip;

  public virtual string Description => StopZeroStringTable.CommandDescription;

  public virtual string Category => StopZeroStringTable.CommandCategory;

  public virtual string Bitmap => "StopZero.Resources.StopZero_16.bmp";

  public virtual string LargeBitmap => "StopZero.Resources.StopZeroLarge_32.png";

  public CApStopZeroCmd() => this._enabler = new CApStopZeroEnabler();

  public virtual void Execute(object cmdParams) => ((Window) new CUiStopZeroDlg()).Show();
}
